home *** CD-ROM | disk | FTP | other *** search
/ Macwelt 4 / Macwelt DVD 4.cdr / Internet / Internet-Utilities / Mac-OS X / darkstat-2.2 / configure.ac < prev    next >
MacBinary  |  2002-09-23  |  7.6 KB  |  [□□□□/□□□□]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert AC3D Model (poly/ac3d) ext Supported
1% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Mon Sep 23 03:32:43 2002, modified Mon Sep 23 03:32:43 2002, 7238 bytes "configure.ac" , at 0x1cc6 286 bytes resource default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% dearkID deark: macbinary default
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[□□□□]
macFileCreator[□□□□]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0c 63 6f 6e 66 69 67 | 75 72 65 2e 61 63 00 00 |..config|ure.ac..|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 01 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 1c 46 00 | 00 01 1e b9 b4 74 1b b9 |......F.|.....t..|
|00000060| b4 74 1b 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.t......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 cc b2 00 00 |........|........|
|00000080| 41 43 5f 50 52 45 52 45 | 51 28 32 2e 35 32 29 0a |AC_PRERE|Q(2.52).|
|00000090| 41 43 5f 49 4e 49 54 0a | 41 43 5f 43 4f 4e 46 49 |AC_INIT.|AC_CONFI|
|000000a0| 47 5f 53 52 43 44 49 52 | 28 5b 73 72 63 2f 64 61 |G_SRCDIR|([src/da|
|000000b0| 72 6b 73 74 61 74 2e 63 | 5d 29 0a 0a 41 4d 5f 49 |rkstat.c|])..AM_I|
|000000c0| 4e 49 54 5f 41 55 54 4f | 4d 41 4b 45 28 64 61 72 |NIT_AUTO|MAKE(dar|
|000000d0| 6b 73 74 61 74 2c 20 32 | 2e 32 29 0a 41 4d 5f 43 |kstat, 2|.2).AM_C|
|000000e0| 4f 4e 46 49 47 5f 48 45 | 41 44 45 52 28 63 6f 6e |ONFIG_HE|ADER(con|
|000000f0| 66 69 67 2e 68 29 0a 0a | 64 6e 6c 20 43 68 65 63 |fig.h)..|dnl Chec|
|00000100| 6b 73 20 66 6f 72 20 70 | 72 6f 67 72 61 6d 73 2e |ks for p|rograms.|
|00000110| 0a 41 43 5f 50 52 4f 47 | 5f 43 43 0a 41 43 5f 50 |.AC_PROG|_CC.AC_P|
|00000120| 52 4f 47 5f 43 50 50 0a | 0a 64 6e 6c 20 43 68 65 |ROG_CPP.|.dnl Che|
|00000130| 63 6b 73 20 66 6f 72 20 | 74 79 70 65 64 65 66 73 |cks for |typedefs|
|00000140| 2c 20 73 74 72 75 63 74 | 75 72 65 73 2c 20 61 6e |, struct|ures, an|
|00000150| 64 20 63 6f 6d 70 69 6c | 65 72 20 63 68 61 72 61 |d compil|er chara|
|00000160| 63 74 65 72 69 73 74 69 | 63 73 2e 0a 41 43 5f 43 |cteristi|cs..AC_C|
|00000170| 5f 43 4f 4e 53 54 0a 41 | 43 5f 43 5f 49 4e 4c 49 |_CONST.A|C_C_INLI|
|00000180| 4e 45 0a 0a 64 6e 6c 20 | 43 68 65 63 6b 73 20 66 |NE..dnl |Checks f|
|00000190| 6f 72 20 6c 69 62 72 61 | 72 79 20 66 75 6e 63 74 |or libra|ry funct|
|000001a0| 69 6f 6e 73 2e 0a 41 43 | 5f 54 59 50 45 5f 53 49 |ions..AC|_TYPE_SI|
|000001b0| 47 4e 41 4c 0a 0a 64 6e | 6c 20 43 68 65 63 6b 73 |GNAL..dn|l Checks|
|000001c0| 20 66 6f 72 20 65 78 69 | 73 74 65 6e 63 65 20 6f | for exi|stence o|
|000001d0| 66 20 4d 53 47 5f 4e 4f | 53 49 47 4e 41 4c 0a 41 |f MSG_NO|SIGNAL.A|
|000001e0| 48 5f 54 45 4d 50 4c 41 | 54 45 28 5b 4d 53 47 5f |H_TEMPLA|TE([MSG_|
|000001f0| 4e 4f 53 49 47 4e 41 4c | 5d 2c 20 5b 70 61 73 73 |NOSIGNAL|], [pass|
|00000200| 20 74 6f 20 73 65 6e 64 | 2f 72 65 63 76 20 74 6f | to send|/recv to|
|00000210| 20 70 72 65 76 65 6e 74 | 20 61 20 53 49 47 50 49 | prevent| a SIGPI|
|00000220| 50 45 5d 29 0a 41 43 5f | 4d 53 47 5f 43 48 45 43 |PE]).AC_|MSG_CHEC|
|00000230| 4b 49 4e 47 28 5b 66 6f | 72 20 4d 53 47 5f 4e 4f |KING([fo|r MSG_NO|
|00000240| 53 49 47 4e 41 4c 5d 29 | 0a 41 43 5f 54 52 59 5f |SIGNAL])|.AC_TRY_|
|00000250| 43 4f 4d 50 49 4c 45 28 | 0a 20 5b 23 69 6e 63 6c |COMPILE(|. [#incl|
|00000260| 75 64 65 20 3c 73 79 73 | 2f 74 79 70 65 73 2e 68 |ude <sys|/types.h|
|00000270| 3e 0a 20 20 23 69 6e 63 | 6c 75 64 65 20 3c 73 79 |>. #inc|lude <sy|
|00000280| 73 2f 73 6f 63 6b 65 74 | 2e 68 3e 5d 2c 0a 20 5b |s/socket|.h>],. [|
|00000290| 72 65 74 75 72 6e 20 4d | 53 47 5f 4e 4f 53 49 47 |return M|SG_NOSIG|
|000002a0| 4e 41 4c 5d 2c 0a 20 5b | 41 43 5f 4d 53 47 5f 52 |NAL],. [|AC_MSG_R|
|000002b0| 45 53 55 4c 54 28 5b 69 | 74 27 73 20 74 68 65 72 |ESULT([i|t's ther|
|000002c0| 65 5d 29 5d 2c 0a 20 5b | 0a 20 20 41 43 5f 44 45 |e])],. [|. AC_DE|
|000002d0| 46 49 4e 45 28 4d 53 47 | 5f 4e 4f 53 49 47 4e 41 |FINE(MSG|_NOSIGNA|
|000002e0| 4c 2c 30 29 0a 20 20 41 | 43 5f 4d 53 47 5f 52 45 |L,0). A|C_MSG_RE|
|000002f0| 53 55 4c 54 28 5b 6e 6f | 74 20 74 68 65 72 65 20 |SULT([no|t there |
|00000300| 2d 20 49 27 6c 6c 20 66 | 61 6b 65 20 69 74 5d 29 |- I'll f|ake it])|
|00000310| 0a 20 5d 29 0a 0a 0a 64 | 6e 6c 20 64 65 62 75 67 |. ])...d|nl debug|
|00000320| 2f 6f 70 74 69 6d 69 7a | 65 20 63 66 6c 61 67 73 |/optimiz|e cflags|
|00000330| 0a 41 43 5f 41 52 47 5f | 45 4e 41 42 4c 45 28 6f |.AC_ARG_|ENABLE(o|
|00000340| 70 74 2c 0a 20 41 43 5f | 48 45 4c 50 5f 53 54 52 |pt,. AC_|HELP_STR|
|00000350| 49 4e 47 28 5b 2d 2d 64 | 69 73 61 62 6c 65 2d 6f |ING([--d|isable-o|
|00000360| 70 74 5d 2c 0a 20 20 20 | 20 20 20 20 20 20 20 20 |pt],. | |
|00000370| 20 20 20 20 20 5b 64 65 | 62 75 67 20 63 6f 6d 70 | [de|bug comp|
|00000380| 69 6c 65 20 28 64 65 66 | 61 75 6c 74 3a 20 4e 4f |ile (def|ault: NO|
|00000390| 29 5d 29 2c 0a 20 61 63 | 5f 65 6e 61 62 6c 65 5f |)]),. ac|_enable_|
|000003a0| 6f 70 74 3d 24 65 6e 61 | 62 6c 65 76 61 6c 2c 0a |opt=$ena|bleval,.|
|000003b0| 20 61 63 5f 65 6e 61 62 | 6c 65 5f 6f 70 74 3d 79 | ac_enab|le_opt=y|
|000003c0| 65 73 0a 29 0a 0a 41 43 | 5f 4d 53 47 5f 43 48 45 |es.)..AC|_MSG_CHE|
|000003d0| 43 4b 49 4e 47 28 5b 77 | 68 61 74 20 73 6f 72 74 |CKING([w|hat sort|
|000003e0| 20 6f 66 20 63 6f 6d 70 | 69 6c 65 20 77 65 27 72 | of comp|ile we'r|
|000003f0| 65 20 64 6f 69 6e 67 5d | 29 0a 69 66 20 74 65 73 |e doing]|).if tes|
|00000400| 74 20 22 24 61 63 5f 65 | 6e 61 62 6c 65 5f 6f 70 |t "$ac_e|nable_op|
|00000410| 74 22 20 3d 20 22 79 65 | 73 22 3b 20 74 68 65 6e |t" = "ye|s"; then|
|00000420| 0a 20 43 46 4c 41 47 53 | 3d 22 2d 67 20 2d 4f 32 |. CFLAGS|="-g -O2|
|00000430| 20 2d 66 73 74 72 65 6e | 67 74 68 2d 72 65 64 75 | -fstren|gth-redu|
|00000440| 63 65 20 2d 66 74 68 72 | 65 61 64 2d 6a 75 6d 70 |ce -fthr|ead-jump|
|00000450| 73 20 5c 0a 2d 66 75 6e | 72 6f 6c 6c 2d 6c 6f 6f |s \.-fun|roll-loo|
|00000460| 70 73 20 2d 66 73 63 68 | 65 64 75 6c 65 2d 69 6e |ps -fsch|edule-in|
|00000470| 73 6e 73 32 20 2d 66 65 | 78 70 65 6e 73 69 76 65 |sns2 -fe|xpensive|
|00000480| 2d 6f 70 74 69 6d 69 7a | 61 74 69 6f 6e 73 20 5c |-optimiz|ations \|
|00000490| 0a 2d 66 69 6e 6c 69 6e | 65 2d 66 75 6e 63 74 69 |.-finlin|e-functi|
|000004a0| 6f 6e 73 20 2d 44 4e 44 | 45 42 55 47 22 0a 20 43 |ons -DND|EBUG". C|
|000004b0| 50 50 46 4c 41 47 53 3d | 22 24 43 50 50 46 4c 41 |PPFLAGS=|"$CPPFLA|
|000004c0| 47 53 20 2d 44 4e 44 45 | 42 55 47 22 0a 20 63 61 |GS -DNDE|BUG". ca|
|000004d0| 73 65 20 22 24 68 6f 73 | 74 22 20 69 6e 0a 20 20 |se "$hos|t" in. |
|000004e0| 69 3f 38 36 2d 2a 29 20 | 43 46 4c 41 47 53 3d 22 |i?86-*) |CFLAGS="|
|000004f0| 24 43 46 4c 41 47 53 20 | 2d 6d 70 65 6e 74 69 75 |$CFLAGS |-mpentiu|
|00000500| 6d 20 2d 6d 63 70 75 3d | 70 65 6e 74 69 75 6d 20 |m -mcpu=|pentium |
|00000510| 2d 6d 61 72 63 68 3d 70 | 65 6e 74 69 75 6d 22 3b |-march=p|entium";|
|00000520| 0a 20 65 73 61 63 0a 20 | 41 43 5f 4d 53 47 5f 52 |. esac. |AC_MSG_R|
|00000530| 45 53 55 4c 54 28 6f 70 | 74 69 6d 69 7a 65 64 29 |ESULT(op|timized)|
|00000540| 0a 65 6c 73 65 0a 20 43 | 46 4c 41 47 53 3d 22 2d |.else. C|FLAGS="-|
|00000550| 67 20 2d 57 61 6c 6c 22 | 0a 20 41 43 5f 4d 53 47 |g -Wall"|. AC_MSG|
|00000560| 5f 52 45 53 55 4c 54 28 | 64 65 62 75 67 29 0a 66 |_RESULT(|debug).f|
|00000570| 69 0a 0a 0a 64 6e 6c 20 | 70 74 68 72 65 61 64 73 |i...dnl |pthreads|
|00000580| 20 63 68 65 63 6b 73 0a | 41 43 5f 4d 53 47 5f 43 | checks.|AC_MSG_C|
|00000590| 48 45 43 4b 49 4e 47 28 | 5b 66 6f 72 20 70 74 68 |HECKING(|[for pth|
|000005a0| 72 65 61 64 2d 63 6f 6e | 66 69 67 5d 29 0a 5f 70 |read-con|fig])._p|
|000005b0| 74 68 72 65 61 64 5f 76 | 65 72 3d 60 70 74 68 72 |thread_v|er=`pthr|
|000005c0| 65 61 64 2d 63 6f 6e 66 | 69 67 20 2d 2d 76 65 72 |ead-conf|ig --ver|
|000005d0| 73 69 6f 6e 20 32 3e 2f | 64 65 76 2f 6e 75 6c 6c |sion 2>/|dev/null|
|000005e0| 60 0a 69 66 20 74 65 73 | 74 20 22 2e 24 5f 70 74 |`.if tes|t ".$_pt|
|000005f0| 68 72 65 61 64 5f 76 65 | 72 22 20 21 3d 20 22 2e |hread_ve|r" != ".|
|00000600| 22 3b 20 74 68 65 6e 0a | 20 41 43 5f 4d 53 47 5f |"; then.| AC_MSG_|
|00000610| 52 45 53 55 4c 54 28 24 | 5f 70 74 68 72 65 61 64 |RESULT($|_pthread|
|00000620| 5f 76 65 72 29 0a 20 43 | 50 50 46 4c 41 47 53 3d |_ver). C|PPFLAGS=|
|00000630| 22 24 43 50 50 46 4c 41 | 47 53 20 60 70 74 68 72 |"$CPPFLA|GS `pthr|
|00000640| 65 61 64 2d 63 6f 6e 66 | 69 67 20 2d 2d 63 66 6c |ead-conf|ig --cfl|
|00000650| 61 67 73 60 22 0a 20 43 | 46 4c 41 47 53 3d 22 24 |ags`". C|FLAGS="$|
|00000660| 43 46 4c 41 47 53 20 60 | 70 74 68 72 65 61 64 2d |CFLAGS `|pthread-|
|00000670| 63 6f 6e 66 69 67 20 2d | 2d 63 66 6c 61 67 73 60 |config -|-cflags`|
|00000680| 22 0a 20 4c 44 46 4c 41 | 47 53 3d 22 24 4c 44 46 |". LDFLA|GS="$LDF|
|00000690| 4c 41 47 53 20 60 70 74 | 68 72 65 61 64 2d 63 6f |LAGS `pt|hread-co|
|000006a0| 6e 66 69 67 20 2d 2d 6c | 64 66 6c 61 67 73 60 22 |nfig --l|dflags`"|
|000006b0| 0a 20 4c 49 42 53 3d 22 | 24 4c 49 42 53 20 60 70 |. LIBS="|$LIBS `p|
|000006c0| 74 68 72 65 61 64 2d 63 | 6f 6e 66 69 67 20 2d 2d |thread-c|onfig --|
|000006d0| 6c 69 62 73 60 22 0a 65 | 6c 73 65 0a 20 41 43 5f |libs`".e|lse. AC_|
|000006e0| 4d 53 47 5f 52 45 53 55 | 4c 54 28 5b 6e 6f 74 20 |MSG_RESU|LT([not |
|000006f0| 74 68 65 72 65 5d 29 0a | 66 69 0a 0a 41 43 5f 43 |there]).|fi..AC_C|
|00000700| 48 45 43 4b 5f 48 45 41 | 44 45 52 28 70 74 68 72 |HECK_HEA|DER(pthr|
|00000710| 65 61 64 2e 68 2c 5b 5d | 2c 20 41 43 5f 4d 53 47 |ead.h,[]|, AC_MSG|
|00000720| 5f 45 52 52 4f 52 28 5b | 49 20 4e 45 45 44 20 70 |_ERROR([|I NEED p|
|00000730| 74 68 72 65 61 64 73 21 | 5d 29 29 0a 0a 41 43 5f |threads!|]))..AC_|
|00000740| 4d 53 47 5f 43 48 45 43 | 4b 49 4e 47 28 5b 68 6f |MSG_CHEC|KING([ho|
|00000750| 77 20 74 6f 20 6c 69 6e | 6b 20 77 69 74 68 20 70 |w to lin|k with p|
|00000760| 74 68 72 65 61 64 73 5d | 29 0a 5f 6f 6c 64 5f 4c |threads]|)._old_L|
|00000770| 49 42 53 3d 22 24 4c 49 | 42 53 22 0a 41 43 5f 54 |IBS="$LI|BS".AC_T|
|00000780| 52 59 5f 4c 49 4e 4b 28 | 5b 23 69 6e 63 6c 75 64 |RY_LINK(|[#includ|
|00000790| 65 20 3c 70 74 68 72 65 | 61 64 2e 68 3e 5d 2c 5b |e <pthre|ad.h>],[|
|000007a0| 70 74 68 72 65 61 64 5f | 74 20 78 3b 20 70 74 68 |pthread_|t x; pth|
|000007b0| 72 65 61 64 5f 6a 6f 69 | 6e 28 78 2c 4e 55 4c 4c |read_joi|n(x,NULL|
|000007c0| 29 5d 2c 0a 20 5b 41 43 | 5f 4d 53 47 5f 52 45 53 |)],. [AC|_MSG_RES|
|000007d0| 55 4c 54 28 5b 6a 75 73 | 74 20 77 6f 72 6b 73 5d |ULT([jus|t works]|
|000007e0| 29 5d 2c 0a 20 5b 0a 20 | 20 4c 49 42 53 3d 22 24 |)],. [. | LIBS="$|
|000007f0| 4c 49 42 53 20 2d 6c 70 | 74 68 72 65 61 64 22 0a |LIBS -lp|thread".|
|00000800| 20 20 41 43 5f 54 52 59 | 5f 4c 49 4e 4b 28 5b 23 | AC_TRY|_LINK([#|
|00000810| 69 6e 63 6c 75 64 65 20 | 3c 70 74 68 72 65 61 64 |include |<pthread|
|00000820| 2e 68 3e 5d 2c 5b 70 74 | 68 72 65 61 64 5f 74 20 |.h>],[pt|hread_t |
|00000830| 78 3b 20 70 74 68 72 65 | 61 64 5f 6a 6f 69 6e 28 |x; pthre|ad_join(|
|00000840| 78 2c 4e 55 4c 4c 29 5d | 2c 0a 20 20 20 5b 41 43 |x,NULL)]|,. [AC|
|00000850| 5f 4d 53 47 5f 52 45 53 | 55 4c 54 28 5b 2d 6c 70 |_MSG_RES|ULT([-lp|
|00000860| 74 68 72 65 61 64 20 28 | 6c 69 6b 65 20 4c 69 6e |thread (|like Lin|
|00000870| 75 78 29 5d 29 5d 2c 0a | 20 20 20 5b 0a 20 20 20 |ux)])],.| [. |
|00000880| 20 4c 49 42 53 3d 22 24 | 5f 6f 6c 64 5f 4c 49 42 | LIBS="$|_old_LIB|
|00000890| 53 22 0a 20 20 20 20 43 | 46 4c 41 47 53 3d 22 24 |S". C|FLAGS="$|
|000008a0| 43 46 4c 41 47 53 20 2d | 70 74 68 72 65 61 64 22 |CFLAGS -|pthread"|
|000008b0| 0a 20 20 20 20 41 43 5f | 54 52 59 5f 4c 49 4e 4b |. AC_|TRY_LINK|
|000008c0| 28 5b 23 69 6e 63 6c 75 | 64 65 20 3c 70 74 68 72 |([#inclu|de <pthr|
|000008d0| 65 61 64 2e 68 3e 5d 2c | 5b 70 74 68 72 65 61 64 |ead.h>],|[pthread|
|000008e0| 5f 74 20 78 3b 20 70 74 | 68 72 65 61 64 5f 6a 6f |_t x; pt|hread_jo|
|000008f0| 69 6e 28 78 2c 4e 55 4c | 4c 29 5d 2c 0a 20 20 20 |in(x,NUL|L)],. |
|00000900| 20 20 5b 41 43 5f 4d 53 | 47 5f 52 45 53 55 4c 54 | [AC_MS|G_RESULT|
|00000910| 28 5b 2d 70 74 68 72 65 | 61 64 20 28 6c 69 6b 65 |([-pthre|ad (like|
|00000920| 20 46 72 65 65 42 53 44 | 29 5d 29 5d 2c 0a 20 20 | FreeBSD|)])],. |
|00000930| 20 20 20 5b 41 43 5f 4d | 53 47 5f 45 52 52 4f 52 | [AC_M|SG_ERROR|
|00000940| 28 5b 49 20 63 61 6e 27 | 74 21 5d 29 5d 29 0a 20 |([I can'|t!])]). |
|00000950| 20 20 5d 29 0a 20 5d 29 | 0a 0a 0a 64 6e 6c 20 53 | ]). ])|...dnl S|
|00000960| 6f 6c 61 72 69 73 20 61 | 70 70 65 61 72 73 20 74 |olaris a|ppears t|
|00000970| 6f 20 6e 65 65 64 20 78 | 6e 65 74 20 6c 69 6e 6b |o need x|net link|
|00000980| 65 64 20 69 6e 0a 41 43 | 5f 43 48 45 43 4b 5f 4c |ed in.AC|_CHECK_L|
|00000990| 49 42 28 78 6e 65 74 2c | 20 67 65 74 68 6f 73 74 |IB(xnet,| gethost|
|000009a0| 62 79 6e 61 6d 65 2c 20 | 5b 4c 49 42 53 3d 22 24 |byname, |[LIBS="$|
|000009b0| 4c 49 42 53 20 2d 6c 78 | 6e 65 74 22 5d 2c 20 5b |LIBS -lx|net"], [|
|000009c0| 5d 29 0a 0a 0a 64 6e 6c | 20 70 63 61 70 20 62 69 |])...dnl| pcap bi|
|000009d0| 74 73 0a 41 43 5f 41 52 | 47 5f 57 49 54 48 28 70 |ts.AC_AR|G_WITH(p|
|000009e0| 63 61 70 2c 0a 20 41 43 | 5f 48 45 4c 50 5f 53 54 |cap,. AC|_HELP_ST|
|000009f0| 52 49 4e 47 28 5b 2d 2d | 77 69 74 68 2d 70 63 61 |RING([--|with-pca|
|00000a00| 70 3d 44 49 52 5d 2c 0a | 09 09 5b 6c 6f 6f 6b 20 |p=DIR],.|..[look |
|00000a10| 66 6f 72 20 6c 69 62 70 | 63 61 70 20 69 6e 20 44 |for libp|cap in D|
|00000a20| 49 52 2f 6c 69 62 20 61 | 6e 64 20 44 49 52 2f 69 |IR/lib a|nd DIR/i|
|00000a30| 6e 63 6c 75 64 65 5d 29 | 2c 0a 20 5b 4c 44 46 4c |nclude])|,. [LDFL|
|00000a40| 41 47 53 3d 22 24 4c 44 | 46 4c 41 47 53 20 2d 4c |AGS="$LD|FLAGS -L|
|00000a50| 24 77 69 74 68 76 61 6c | 2f 6c 69 62 22 0a 20 20 |$withval|/lib". |
|00000a60| 43 50 50 46 4c 41 47 53 | 3d 22 24 43 50 50 46 4c |CPPFLAGS|="$CPPFL|
|00000a70| 41 47 53 20 2d 49 24 77 | 69 74 68 76 61 6c 2f 69 |AGS -I$w|ithval/i|
|00000a80| 6e 63 6c 75 64 65 22 5d | 0a 29 0a 0a 41 43 5f 43 |nclude"]|.)..AC_C|
|00000a90| 48 45 43 4b 5f 4c 49 42 | 28 70 63 61 70 2c 20 70 |HECK_LIB|(pcap, p|
|00000aa0| 63 61 70 5f 6f 70 65 6e | 5f 6c 69 76 65 2c 0a 20 |cap_open|_live,. |
|00000ab0| 5b 5d 2c 0a 20 5b 41 43 | 5f 4d 53 47 5f 45 52 52 |[],. [AC|_MSG_ERR|
|00000ac0| 4f 52 28 5b 49 20 6e 65 | 65 64 20 6c 69 62 70 63 |OR([I ne|ed libpc|
|00000ad0| 61 70 20 2d 20 67 65 74 | 20 69 74 20 66 72 6f 6d |ap - get| it from|
|00000ae0| 20 68 74 74 70 3a 2f 2f | 77 77 77 2e 74 63 70 64 | http://|www.tcpd|
|00000af0| 75 6d 70 2e 6f 72 67 2f | 5d 29 5d 0a 29 0a 0a 41 |ump.org/|])].)..A|
|00000b00| 43 5f 4d 53 47 5f 43 48 | 45 43 4b 49 4e 47 28 5b |C_MSG_CH|ECKING([|
|00000b10| 66 6f 72 20 70 63 61 70 | 2e 68 5d 29 0a 41 43 5f |for pcap|.h]).AC_|
|00000b20| 54 52 59 5f 43 50 50 28 | 5b 23 69 6e 63 6c 75 64 |TRY_CPP(|[#includ|
|00000b30| 65 20 3c 70 63 61 70 2e | 68 3e 5d 2c 0a 20 5b 41 |e <pcap.|h>],. [A|
|00000b40| 43 5f 4d 53 47 5f 52 45 | 53 55 4c 54 28 79 65 70 |C_MSG_RE|SULT(yep|
|00000b50| 29 5d 2c 0a 20 5b 0a 20 | 20 41 43 5f 4d 53 47 5f |)],. [. | AC_MSG_|
|00000b60| 52 45 53 55 4c 54 28 6e | 6f 70 65 29 0a 0a 20 20 |RESULT(n|ope).. |
|00000b70| 64 6e 6c 20 2e 2e 2e 6d | 61 79 62 65 20 69 74 27 |dnl ...m|aybe it'|
|00000b80| 73 20 6f 6e 65 20 6f 66 | 20 74 68 6f 73 65 20 73 |s one of| those s|
|00000b90| 69 6c 6c 79 20 52 48 20 | 71 75 69 72 6b 73 0a 20 |illy RH |quirks. |
|00000ba0| 20 43 50 50 46 4c 41 47 | 53 3d 22 24 43 50 50 46 | CPPFLAG|S="$CPPF|
|00000bb0| 4c 41 47 53 20 2d 49 2f | 75 73 72 2f 69 6e 63 6c |LAGS -I/|usr/incl|
|00000bc0| 75 64 65 2f 70 63 61 70 | 22 0a 20 20 41 43 5f 4d |ude/pcap|". AC_M|
|00000bd0| 53 47 5f 43 48 45 43 4b | 49 4e 47 28 5b 66 6f 72 |SG_CHECK|ING([for|
|00000be0| 20 70 63 61 70 2f 70 63 | 61 70 2e 68 5d 29 0a 20 | pcap/pc|ap.h]). |
|00000bf0| 20 41 43 5f 54 52 59 5f | 43 50 50 28 5b 23 69 6e | AC_TRY_|CPP([#in|
|00000c00| 63 6c 75 64 65 20 3c 70 | 63 61 70 2e 68 3e 5d 2c |clude <p|cap.h>],|
|00000c10| 0a 20 20 20 5b 41 43 5f | 4d 53 47 5f 52 45 53 55 |. [AC_|MSG_RESU|
|00000c20| 4c 54 28 5b 79 65 70 20 | 2d 20 69 6e 20 69 6e 63 |LT([yep |- in inc|
|00000c30| 6c 75 64 65 2f 70 63 61 | 70 5d 29 5d 2c 0a 20 20 |lude/pca|p])],. |
|00000c40| 20 5b 0a 20 20 20 20 41 | 43 5f 4d 53 47 5f 52 45 | [. A|C_MSG_RE|
|00000c50| 53 55 4c 54 28 6e 6f 70 | 65 29 0a 20 20 20 20 41 |SULT(nop|e). A|
|00000c60| 43 5f 4d 53 47 5f 45 52 | 52 4f 52 28 5b 49 20 63 |C_MSG_ER|ROR([I c|
|00000c70| 61 6e 27 74 20 66 69 6e | 64 20 74 68 65 20 6c 69 |an't fin|d the li|
|00000c80| 62 70 63 61 70 20 68 65 | 61 64 65 72 73 5d 29 0a |bpcap he|aders]).|
|00000c90| 20 20 20 5d 29 0a 20 5d | 29 0a 0a 0a 64 6e 6c 20 | ]). ]|)...dnl |
|00000ca0| 73 74 75 70 69 64 20 73 | 68 69 74 20 68 61 70 70 |stupid s|hit happ|
|00000cb0| 65 6e 73 20 77 69 74 68 | 20 76 65 72 79 20 6f 6c |ens with| very ol|
|00000cc0| 64 20 6c 69 62 70 63 61 | 70 73 0a 41 48 5f 54 45 |d libpca|ps.AH_TE|
|00000cd0| 4d 50 4c 41 54 45 28 5b | 44 4c 54 5f 4c 49 4e 55 |MPLATE([|DLT_LINU|
|00000ce0| 58 5f 53 4c 4c 5d 2c 20 | 5b 6f 6c 64 20 6c 69 62 |X_SLL], |[old lib|
|00000cf0| 70 63 61 70 73 20 64 6f | 6e 27 74 20 68 61 76 65 |pcaps do|n't have|
|00000d00| 20 74 68 69 73 2c 20 64 | 65 66 69 6e 65 20 74 6f | this, d|efine to|
|00000d10| 20 31 31 33 5d 29 0a 41 | 43 5f 4d 53 47 5f 43 48 | 113]).A|C_MSG_CH|
|00000d20| 45 43 4b 49 4e 47 28 5b | 66 6f 72 20 44 4c 54 5f |ECKING([|for DLT_|
|00000d30| 4c 49 4e 55 58 5f 53 4c | 4c 5d 29 0a 41 43 5f 54 |LINUX_SL|L]).AC_T|
|00000d40| 52 59 5f 52 55 4e 28 5b | 0a 20 20 23 69 6e 63 6c |RY_RUN([|. #incl|
|00000d50| 75 64 65 20 3c 70 63 61 | 70 2e 68 3e 0a 20 20 69 |ude <pca|p.h>. i|
|00000d60| 6e 74 20 6d 61 69 6e 28 | 29 0a 20 20 7b 0a 20 20 |nt main(|). {. |
|00000d70| 20 20 69 66 20 28 44 4c | 54 5f 4c 49 4e 55 58 5f | if (DL|T_LINUX_|
|00000d80| 53 4c 4c 20 3d 3d 20 31 | 31 33 29 20 72 65 74 75 |SLL == 1|13) retu|
|00000d90| 72 6e 20 30 3b 20 65 6c | 73 65 20 72 65 74 75 72 |rn 0; el|se retur|
|00000da0| 6e 20 31 3b 0a 20 20 7d | 5d 2c 0a 20 20 5b 41 43 |n 1;. }|],. [AC|
|00000db0| 5f 4d 53 47 5f 52 45 53 | 55 4c 54 28 79 65 73 29 |_MSG_RES|ULT(yes)|
|00000dc0| 5d 2c 0a 20 20 5b 41 43 | 5f 4d 53 47 5f 52 45 53 |],. [AC|_MSG_RES|
|00000dd0| 55 4c 54 28 6e 6f 29 0a | 20 20 20 41 43 5f 44 45 |ULT(no).| AC_DE|
|00000de0| 46 49 4e 45 28 44 4c 54 | 5f 4c 49 4e 55 58 5f 53 |FINE(DLT|_LINUX_S|
|00000df0| 4c 4c 2c 31 31 33 29 5d | 0a 29 0a 0a 41 48 5f 54 |LL,113)]|.)..AH_T|
|00000e00| 45 4d 50 4c 41 54 45 28 | 5b 48 41 56 45 5f 46 52 |EMPLATE(|[HAVE_FR|
|00000e10| 45 45 43 4f 44 45 5d 2c | 20 5b 64 65 66 69 6e 65 |EECODE],| [define|
|00000e20| 20 69 66 20 79 6f 75 20 | 68 61 76 65 20 70 63 61 | if you |have pca|
|00000e30| 70 5f 66 72 65 65 63 6f | 64 65 5d 29 0a 41 43 5f |p_freeco|de]).AC_|
|00000e40| 4d 53 47 5f 43 48 45 43 | 4b 49 4e 47 28 5b 69 66 |MSG_CHEC|KING([if|
|00000e50| 20 70 63 61 70 5f 66 72 | 65 65 63 6f 64 65 20 65 | pcap_fr|eecode e|
|00000e60| 78 69 73 74 73 5d 29 0a | 41 43 5f 54 52 59 5f 52 |xists]).|AC_TRY_R|
|00000e70| 55 4e 28 5b 0a 20 20 23 | 69 6e 63 6c 75 64 65 20 |UN([. #|include |
|00000e80| 3c 70 63 61 70 2e 68 3e | 0a 20 20 69 6e 74 20 6d |<pcap.h>|. int m|
|00000e90| 61 69 6e 28 29 0a 20 20 | 7b 0a 20 20 20 20 73 74 |ain(). |{. st|
|00000ea0| 72 75 63 74 20 62 70 66 | 5f 70 72 6f 67 72 61 6d |ruct bpf|_program|
|00000eb0| 20 70 72 67 3b 0a 20 20 | 20 20 72 65 74 75 72 6e | prg;. | return|
|00000ec0| 20 30 3b 0a 20 20 20 20 | 70 63 61 70 5f 66 72 65 | 0;. |pcap_fre|
|00000ed0| 65 63 6f 64 65 28 26 70 | 72 67 29 3b 0a 20 20 7d |ecode(&p|rg);. }|
|00000ee0| 5d 2c 0a 20 20 5b 41 43 | 5f 4d 53 47 5f 52 45 53 |],. [AC|_MSG_RES|
|00000ef0| 55 4c 54 28 79 65 73 29 | 0a 20 20 20 41 43 5f 44 |ULT(yes)|. AC_D|
|00000f00| 45 46 49 4e 45 28 48 41 | 56 45 5f 46 52 45 45 43 |EFINE(HA|VE_FREEC|
|00000f10| 4f 44 45 29 5d 2c 0a 20 | 20 5b 41 43 5f 4d 53 47 |ODE)],. | [AC_MSG|
|00000f20| 5f 52 45 53 55 4c 54 28 | 6e 6f 29 5d 0a 29 0a 0a |_RESULT(|no)].)..|
|00000f30| 0a 64 6e 6c 20 43 68 65 | 63 6b 20 69 66 20 74 68 |.dnl Che|ck if th|
|00000f40| 69 73 20 70 6c 61 74 66 | 6f 72 6d 20 64 6f 65 73 |is platf|orm does|
|00000f50| 20 36 34 2d 62 69 74 20 | 61 72 69 74 68 6d 65 74 | 64-bit |arithmet|
|00000f60| 69 63 20 61 6e 64 20 70 | 72 69 6e 74 66 28 29 73 |ic and p|rintf()s|
|00000f70| 0a 41 48 5f 54 45 4d 50 | 4c 41 54 45 28 48 41 56 |.AH_TEMP|LATE(HAV|
|00000f80| 45 5f 36 34 4d 41 54 48 | 2c 0a 09 5b 44 65 66 69 |E_64MATH|,..[Defi|
|00000f90| 6e 65 20 69 66 20 79 6f | 75 72 20 70 6c 61 74 66 |ne if yo|ur platf|
|00000fa0| 6f 72 6d 20 63 61 6e 20 | 64 6f 20 36 34 2d 62 69 |orm can |do 64-bi|
|00000fb0| 74 20 61 72 69 74 68 6d | 65 74 69 63 2e 5d 29 0a |t arithm|etic.]).|
|00000fc0| 41 48 5f 54 45 4d 50 4c | 41 54 45 28 48 41 56 45 |AH_TEMPL|ATE(HAVE|
|00000fd0| 5f 36 34 50 52 49 4e 54 | 5f 43 4f 4d 4d 41 53 2c |_64PRINT|_COMMAS,|
|00000fe0| 0a 09 5b 44 65 66 69 6e | 65 20 69 66 20 79 6f 75 |..[Defin|e if you|
|00000ff0| 72 20 70 6c 61 74 66 6f | 72 6d 20 63 61 6e 20 66 |r platfo|rm can f|
|00001000| 6f 72 6d 61 74 20 36 34 | 2d 62 69 74 20 6e 75 6d |ormat 64|-bit num|
|00001010| 62 65 72 73 20 77 69 74 | 68 0a 09 20 74 68 6f 75 |bers wit|h.. thou|
|00001020| 73 61 6e 64 73 20 73 65 | 70 61 72 61 74 6f 72 73 |sands se|parators|
|00001030| 2e 5d 29 0a 41 48 5f 54 | 45 4d 50 4c 41 54 45 28 |.]).AH_T|EMPLATE(|
|00001040| 48 41 56 45 5f 36 34 50 | 52 49 4e 54 2c 0a 09 5b |HAVE_64P|RINT,..[|
|00001050| 44 65 66 69 6e 65 20 69 | 66 20 79 6f 75 72 20 70 |Define i|f your p|
|00001060| 6c 61 74 66 6f 72 6d 20 | 63 61 6e 20 70 72 69 6e |latform |can prin|
|00001070| 74 20 36 34 2d 62 69 74 | 20 6e 75 6d 62 65 72 73 |t 64-bit| numbers|
|00001080| 2e 5d 29 0a 41 48 5f 54 | 45 4d 50 4c 41 54 45 28 |.]).AH_T|EMPLATE(|
|00001090| 4c 4f 4e 47 4c 4f 4e 47 | 5f 46 4f 52 4d 41 54 2c |LONGLONG|_FORMAT,|
|000010a0| 0a 09 5b 44 65 66 69 6e | 65 20 74 6f 20 74 68 65 |..[Defin|e to the|
|000010b0| 20 70 72 69 6e 74 66 20 | 70 72 65 66 69 78 20 66 | printf |prefix f|
|000010c0| 6f 72 20 61 20 6c 6f 6e | 67 20 6c 6f 6e 67 20 69 |or a lon|g long i|
|000010d0| 6e 74 20 2d 20 75 73 75 | 61 6c 6c 79 20 4c 20 6f |nt - usu|ally L o|
|000010e0| 72 20 6c 6c 2e 5d 29 0a | 0a 41 43 5f 4d 53 47 5f |r ll.]).|.AC_MSG_|
|000010f0| 43 48 45 43 4b 49 4e 47 | 28 5b 74 68 65 20 73 69 |CHECKING|([the si|
|00001100| 7a 65 20 6f 66 20 79 6f | 75 72 20 6c 6f 6e 67 20 |ze of yo|ur long |
|00001110| 6c 6f 6e 67 20 69 6e 74 | 5d 29 0a 41 43 5f 54 52 |long int|]).AC_TR|
|00001120| 59 5f 52 55 4e 28 5b 0a | 20 69 6e 74 20 6d 61 69 |Y_RUN([.| int mai|
|00001130| 6e 28 29 0a 20 7b 0a 20 | 20 70 72 69 6e 74 66 28 |n(). {. | printf(|
|00001140| 22 25 64 20 62 69 74 73 | 5c 6e 22 2c 20 73 69 7a |"%d bits|\n", siz|
|00001150| 65 6f 66 28 6c 6f 6e 67 | 20 6c 6f 6e 67 20 69 6e |eof(long| long in|
|00001160| 74 29 20 2a 20 38 29 3b | 0a 20 20 72 65 74 75 72 |t) * 8);|. retur|
|00001170| 6e 20 28 73 69 7a 65 6f | 66 28 6c 6f 6e 67 20 6c |n (sizeo|f(long l|
|00001180| 6f 6e 67 20 69 6e 74 29 | 20 21 3d 20 38 29 3b 0a |ong int)| != 8);.|
|00001190| 20 7d 5d 2c 0a 20 5b 0a | 20 20 41 43 5f 4d 53 47 | }],. [.| AC_MSG|
|000011a0| 5f 43 48 45 43 4b 49 4e | 47 28 5b 69 66 20 79 6f |_CHECKIN|G([if yo|
|000011b0| 75 20 63 61 6e 20 64 6f | 20 36 34 2d 62 69 74 20 |u can do| 64-bit |
|000011c0| 6d 61 74 68 5d 29 0a 20 | 20 41 43 5f 54 52 59 5f |math]). | AC_TRY_|
|000011d0| 52 55 4e 28 5b 0a 20 20 | 20 69 6e 74 20 6d 61 69 |RUN([. | int mai|
|000011e0| 6e 28 29 0a 20 20 20 7b | 0a 20 20 20 20 20 6c 6f |n(). {|. lo|
|000011f0| 6e 67 20 6c 6f 6e 67 20 | 69 6e 74 20 74 65 73 74 |ng long |int test|
|00001200| 20 3d 20 34 32 39 34 39 | 36 39 31 36 30 3b 0a 20 | = 42949|69160;. |
|00001210| 20 20 20 20 74 65 73 74 | 20 3d 20 74 65 73 74 20 | test| = test |
|00001220| 2a 20 37 20 2b 20 31 3b | 0a 20 20 20 20 20 72 65 |* 7 + 1;|. re|
|00001230| 74 75 72 6e 20 28 74 65 | 73 74 20 21 3d 20 33 30 |turn (te|st != 30|
|00001240| 30 36 34 37 38 34 31 32 | 31 29 3b 0a 20 20 20 7d |06478412|1);. }|
|00001250| 5d 2c 0a 20 20 20 5b 0a | 20 20 20 20 41 43 5f 4d |],. [.| AC_M|
|00001260| 53 47 5f 52 45 53 55 4c | 54 28 79 65 73 29 0a 20 |SG_RESUL|T(yes). |
|00001270| 20 20 20 41 43 5f 44 45 | 46 49 4e 45 28 48 41 56 | AC_DE|FINE(HAV|
|00001280| 45 5f 36 34 4d 41 54 48 | 29 0a 20 20 20 20 41 43 |E_64MATH|). AC|
|00001290| 5f 4d 53 47 5f 43 48 45 | 43 4b 49 4e 47 28 5b 69 |_MSG_CHE|CKING([i|
|000012a0| 66 20 79 6f 75 20 63 61 | 6e 20 70 72 69 6e 74 20 |f you ca|n print |
|000012b0| 36 34 2d 62 69 74 20 6e | 75 6d 62 65 72 73 20 77 |64-bit n|umbers w|
|000012c0| 69 74 68 20 63 6f 6d 6d | 61 73 5d 29 0a 20 20 20 |ith comm|as]). |
|000012d0| 20 41 43 5f 54 52 59 5f | 52 55 4e 28 5b 0a 20 20 | AC_TRY_|RUN([. |
|000012e0| 20 20 20 2f 2a 20 74 68 | 69 73 20 69 73 20 61 20 | /* th|is is a |
|000012f0| 47 4e 55 20 6c 69 62 63 | 20 74 68 69 6e 67 20 2a |GNU libc| thing *|
|00001300| 2f 0a 20 20 20 20 20 23 | 69 6e 63 6c 75 64 65 20 |/. #|include |
|00001310| 3c 6c 6f 63 61 6c 65 2e | 68 3e 0a 20 20 20 20 20 |<locale.|h>. |
|00001320| 23 69 6e 63 6c 75 64 65 | 20 3c 73 74 64 69 6f 2e |#include| <stdio.|
|00001330| 68 3e 0a 20 20 20 20 20 | 69 6e 74 20 6d 61 69 6e |h>. |int main|
|00001340| 28 29 0a 20 20 20 20 20 | 7b 0a 20 20 20 20 20 20 |(). |{. |
|00001350| 6c 6f 6e 67 20 6c 6f 6e | 67 20 69 6e 74 20 74 65 |long lon|g int te|
|00001360| 73 74 20 3d 20 34 32 39 | 34 39 36 39 31 36 30 3b |st = 429|4969160;|
|00001370| 0a 20 20 20 20 20 20 63 | 68 61 72 20 74 6d 70 62 |. c|har tmpb|
|00001380| 75 66 5b 31 35 5d 3b 0a | 20 20 20 20 20 20 74 65 |uf[15];.| te|
|00001390| 73 74 20 3d 20 74 65 73 | 74 20 2a 20 37 20 2b 20 |st = tes|t * 7 + |
|000013a0| 31 3b 0a 20 20 20 20 20 | 20 73 65 74 6c 6f 63 61 |1;. | setloca|
|000013b0| 6c 65 28 4c 43 5f 4e 55 | 4d 45 52 49 43 2c 20 22 |le(LC_NU|MERIC, "|
|000013c0| 65 6e 5f 55 53 22 29 3b | 0a 20 20 20 20 20 20 73 |en_US");|. s|
|000013d0| 70 72 69 6e 74 66 28 74 | 6d 70 62 75 66 2c 20 22 |printf(t|mpbuf, "|
|000013e0| 25 27 4c 75 22 2c 20 74 | 65 73 74 29 3b 0a 20 20 |%'Lu", t|est);. |
|000013f0| 20 20 20 20 66 70 72 69 | 6e 74 66 28 73 74 64 65 | fpri|ntf(stde|
|00001400| 72 72 2c 20 22 72 65 73 | 75 6c 74 3d 25 73 5c 6e |rr, "res|ult=%s\n|
|00001410| 22 2c 20 74 6d 70 62 75 | 66 29 3b 0a 20 20 20 20 |", tmpbu|f);. |
|00001420| 20 20 72 65 74 75 72 6e | 20 28 73 74 72 63 6d 70 | return| (strcmp|
|00001430| 28 74 6d 70 62 75 66 2c | 20 22 33 30 2c 30 36 34 |(tmpbuf,| "30,064|
|00001440| 2c 37 38 34 2c 31 32 31 | 22 29 20 21 3d 20 30 29 |,784,121|") != 0)|
|00001450| 3b 0a 20 20 20 20 20 7d | 5d 2c 0a 20 20 20 20 20 |;. }|],. |
|00001460| 5b 0a 20 20 20 20 20 20 | 41 43 5f 44 45 46 49 4e |[. |AC_DEFIN|
|00001470| 45 28 48 41 56 45 5f 36 | 34 50 52 49 4e 54 5f 43 |E(HAVE_6|4PRINT_C|
|00001480| 4f 4d 4d 41 53 29 0a 20 | 20 20 20 20 20 41 43 5f |OMMAS). | AC_|
|00001490| 44 45 46 49 4e 45 28 48 | 41 56 45 5f 36 34 50 52 |DEFINE(H|AVE_64PR|
|000014a0| 49 4e 54 29 0a 20 20 20 | 20 20 20 41 43 5f 44 45 |INT). | AC_DE|
|000014b0| 46 49 4e 45 28 4c 4f 4e | 47 4c 4f 4e 47 5f 46 4f |FINE(LON|GLONG_FO|
|000014c0| 52 4d 41 54 2c 20 22 4c | 22 29 0a 20 20 20 20 20 |RMAT, "L|"). |
|000014d0| 20 41 43 5f 4d 53 47 5f | 52 45 53 55 4c 54 28 79 | AC_MSG_|RESULT(y|
|000014e0| 65 73 29 0a 20 20 20 20 | 20 5d 2c 0a 20 20 20 20 |es). | ],. |
|000014f0| 20 5b 0a 20 20 20 20 20 | 20 41 43 5f 4d 53 47 5f | [. | AC_MSG_|
|00001500| 52 45 53 55 4c 54 28 6e | 6f 29 0a 20 20 20 20 20 |RESULT(n|o). |
|00001510| 20 41 43 5f 4d 53 47 5f | 43 48 45 43 4b 49 4e 47 | AC_MSG_|CHECKING|
|00001520| 28 5b 69 66 20 79 6f 75 | 20 63 61 6e 20 70 72 69 |([if you| can pri|
|00001530| 6e 74 20 36 34 2d 62 69 | 74 20 6e 75 6d 62 65 72 |nt 64-bi|t number|
|00001540| 73 20 61 74 20 61 6c 6c | 5d 29 0a 20 20 20 20 20 |s at all|]). |
|00001550| 20 41 43 5f 54 52 59 5f | 52 55 4e 28 5b 0a 20 20 | AC_TRY_|RUN([. |
|00001560| 20 20 20 20 20 23 69 6e | 63 6c 75 64 65 20 3c 73 | #in|clude <s|
|00001570| 74 64 69 6f 2e 68 3e 0a | 20 20 20 20 20 20 20 69 |tdio.h>.| i|
|00001580| 6e 74 20 6d 61 69 6e 28 | 29 0a 20 20 20 20 20 20 |nt main(|). |
|00001590| 20 7b 0a 20 20 20 20 20 | 20 20 20 6c 6f 6e 67 20 | {. | long |
|000015a0| 6c 6f 6e 67 20 69 6e 74 | 20 74 65 73 74 20 3d 20 |long int| test = |
|000015b0| 34 32 39 34 39 36 39 31 | 36 30 3b 0a 20 20 20 20 |42949691|60;. |
|000015c0| 20 20 20 20 63 68 61 72 | 20 74 6d 70 62 75 66 5b | char| tmpbuf[|
|000015d0| 31 32 5d 3b 0a 20 20 20 | 20 20 20 20 20 74 65 73 |12];. | tes|
|000015e0| 74 20 3d 20 74 65 73 74 | 20 2a 20 37 20 2b 20 31 |t = test| * 7 + 1|
|000015f0| 3b 0a 20 20 20 20 20 20 | 20 20 73 70 72 69 6e 74 |;. | sprint|
|00001600| 66 28 74 6d 70 62 75 66 | 2c 20 22 25 4c 75 22 2c |f(tmpbuf|, "%Lu",|
|00001610| 20 74 65 73 74 29 3b 0a | 09 66 70 72 69 6e 74 66 | test);.|.fprintf|
|00001620| 28 73 74 64 65 72 72 2c | 20 22 72 65 73 75 6c 74 |(stderr,| "result|
|00001630| 3d 25 73 5c 6e 22 2c 20 | 74 6d 70 62 75 66 29 3b |=%s\n", |tmpbuf);|
|00001640| 0a 20 20 20 20 20 20 20 | 20 72 65 74 75 72 6e 20 |. | return |
|00001650| 28 73 74 72 63 6d 70 28 | 74 6d 70 62 75 66 2c 20 |(strcmp(|tmpbuf, |
|00001660| 22 33 30 30 36 34 37 38 | 34 31 32 31 22 29 20 21 |"3006478|4121") !|
|00001670| 3d 20 30 29 3b 0a 20 20 | 20 20 20 20 20 7d 5d 2c |= 0);. | }],|
|00001680| 0a 20 20 20 20 20 20 20 | 5b 0a 20 20 20 20 20 20 |. |[. |
|00001690| 20 20 41 43 5f 44 45 46 | 49 4e 45 28 48 41 56 45 | AC_DEF|INE(HAVE|
|000016a0| 5f 36 34 50 52 49 4e 54 | 29 0a 09 41 43 5f 44 45 |_64PRINT|)..AC_DE|
|000016b0| 46 49 4e 45 28 4c 4f 4e | 47 4c 4f 4e 47 5f 46 4f |FINE(LON|GLONG_FO|
|000016c0| 52 4d 41 54 2c 20 22 4c | 22 29 0a 20 20 20 20 20 |RMAT, "L|"). |
|000016d0| 20 20 20 41 43 5f 4d 53 | 47 5f 52 45 53 55 4c 54 | AC_MS|G_RESULT|
|000016e0| 28 79 65 73 20 2d 20 4c | 20 66 6f 72 6d 61 74 29 |(yes - L| format)|
|000016f0| 0a 20 20 20 20 20 20 20 | 5d 2c 0a 20 20 20 20 20 |. |],. |
|00001700| 20 20 5b 0a 20 20 20 20 | 20 20 20 20 41 43 5f 54 | [. | AC_T|
|00001710| 52 59 5f 52 55 4e 28 5b | 0a 20 20 20 20 20 20 20 |RY_RUN([|. |
|00001720| 20 20 23 69 6e 63 6c 75 | 64 65 20 3c 73 74 64 69 | #inclu|de <stdi|
|00001730| 6f 2e 68 3e 0a 20 20 20 | 20 20 20 20 20 20 69 6e |o.h>. | in|
|00001740| 74 20 6d 61 69 6e 28 29 | 0a 20 20 20 20 20 20 20 |t main()|. |
|00001750| 20 20 7b 0a 20 20 20 20 | 20 20 20 20 20 20 6c 6f | {. | lo|
|00001760| 6e 67 20 6c 6f 6e 67 20 | 69 6e 74 20 74 65 73 74 |ng long |int test|
|00001770| 20 3d 20 34 32 39 34 39 | 36 39 31 36 30 3b 0a 20 | = 42949|69160;. |
|00001780| 20 20 20 20 20 20 20 20 | 20 63 68 61 72 20 74 6d | | char tm|
|00001790| 70 62 75 66 5b 31 32 5d | 3b 0a 20 20 20 20 20 20 |pbuf[12]|;. |
|000017a0| 20 20 20 20 74 65 73 74 | 20 3d 20 74 65 73 74 20 | test| = test |
|000017b0| 2a 20 37 20 2b 20 31 3b | 0a 20 20 20 20 20 20 20 |* 7 + 1;|. |
|000017c0| 20 20 20 73 70 72 69 6e | 74 66 28 74 6d 70 62 75 | sprin|tf(tmpbu|
|000017d0| 66 2c 20 22 25 6c 6c 75 | 22 2c 20 74 65 73 74 29 |f, "%llu|", test)|
|000017e0| 3b 0a 09 20 20 66 70 72 | 69 6e 74 66 28 73 74 64 |;.. fpr|intf(std|
|000017f0| 65 72 72 2c 20 22 72 65 | 73 75 6c 74 3d 25 73 5c |err, "re|sult=%s\|
|00001800| 6e 22 2c 20 74 6d 70 62 | 75 66 29 3b 0a 20 20 20 |n", tmpb|uf);. |
|00001810| 20 20 20 20 20 20 20 72 | 65 74 75 72 6e 20 28 73 | r|eturn (s|
|00001820| 74 72 63 6d 70 28 74 6d | 70 62 75 66 2c 20 22 33 |trcmp(tm|pbuf, "3|
|00001830| 30 30 36 34 37 38 34 31 | 32 31 22 29 20 21 3d 20 |00647841|21") != |
|00001840| 30 29 3b 0a 20 20 20 20 | 20 20 20 20 20 7d 5d 2c |0);. | }],|
|00001850| 0a 20 20 20 20 20 20 20 | 20 20 5b 0a 20 20 20 20 |. | [. |
|00001860| 20 20 20 20 20 20 41 43 | 5f 44 45 46 49 4e 45 28 | AC|_DEFINE(|
|00001870| 48 41 56 45 5f 36 34 50 | 52 49 4e 54 29 0a 09 20 |HAVE_64P|RINT).. |
|00001880| 20 41 43 5f 44 45 46 49 | 4e 45 28 4c 4f 4e 47 4c | AC_DEFI|NE(LONGL|
|00001890| 4f 4e 47 5f 46 4f 52 4d | 41 54 2c 20 22 6c 6c 22 |ONG_FORM|AT, "ll"|
|000018a0| 29 0a 20 20 20 20 20 20 | 20 20 20 20 41 43 5f 4d |). | AC_M|
|000018b0| 53 47 5f 52 45 53 55 4c | 54 28 79 65 73 20 2d 20 |SG_RESUL|T(yes - |
|000018c0| 6c 6c 20 66 6f 72 6d 61 | 74 29 0a 20 20 20 20 20 |ll forma|t). |
|000018d0| 20 20 20 20 5d 2c 0a 20 | 20 20 20 20 20 20 20 20 | ],. | |
|000018e0| 5b 0a 20 20 20 20 20 20 | 20 20 20 20 41 43 5f 4d |[. | AC_M|
|000018f0| 53 47 5f 52 45 53 55 4c | 54 28 6e 6f 29 0a 20 20 |SG_RESUL|T(no). |
|00001900| 20 20 20 20 20 20 20 5d | 29 20 64 6e 6c 20 70 72 | ]|) dnl pr|
|00001910| 69 6e 74 66 28 22 25 6c | 6c 75 22 29 0a 20 20 20 |intf("%l|lu"). |
|00001920| 20 20 20 20 5d 29 20 64 | 6e 6c 20 70 72 69 6e 74 | ]) d|nl print|
|00001930| 66 28 22 25 4c 75 22 29 | 0a 20 20 20 20 20 5d 29 |f("%Lu")|. ])|
|00001940| 20 64 6e 6c 20 70 72 69 | 6e 74 66 28 22 25 27 4c | dnl pri|ntf("%'L|
|00001950| 75 22 29 0a 20 20 20 5d | 2c 0a 20 20 20 5b 0a 20 |u"). ]|,. [. |
|00001960| 20 20 20 41 43 5f 4d 53 | 47 5f 52 45 53 55 4c 54 | AC_MS|G_RESULT|
|00001970| 28 6e 6f 29 0a 20 20 20 | 5d 29 20 64 6e 6c 20 36 |(no). |]) dnl 6|
|00001980| 34 2d 62 69 74 20 6d 61 | 74 68 0a 20 5d 29 20 64 |4-bit ma|th. ]) d|
|00001990| 6e 6c 20 73 69 7a 65 6f | 66 28 6c 6f 6e 67 20 6c |nl sizeo|f(long l|
|000019a0| 6f 6e 67 20 69 6e 74 29 | 0a 0a 0a 0a 0a 0a 64 6e |ong int)|......dn|
|000019b0| 6c 20 44 6f 20 74 68 65 | 20 67 65 74 74 65 78 74 |l Do the| gettext|
|000019c0| 20 74 68 69 6e 67 0a 41 | 4d 5f 47 4e 55 5f 47 45 | thing.A|M_GNU_GE|
|000019d0| 54 54 45 58 54 28 65 78 | 74 65 72 6e 61 6c 29 0a |TTEXT(ex|ternal).|
|000019e0| 0a 69 66 20 74 65 73 74 | 20 22 24 55 53 45 5f 4e |.if test| "$USE_N|
|000019f0| 4c 53 22 20 3d 20 22 79 | 65 73 22 3b 20 74 68 65 |LS" = "y|es"; the|
|00001a00| 6e 0a 20 5f 6f 6c 64 5f | 4c 49 42 53 3d 22 24 4c |n. _old_|LIBS="$L|
|00001a10| 49 42 53 22 0a 20 4c 49 | 42 53 3d 22 24 4c 49 42 |IBS". LI|BS="$LIB|
|00001a20| 53 20 24 4c 49 42 49 4e | 54 4c 22 0a 0a 20 41 43 |S $LIBIN|TL".. AC|
|00001a30| 5f 4d 53 47 5f 43 48 45 | 43 4b 49 4e 47 28 5b 66 |_MSG_CHE|CKING([f|
|00001a40| 6f 72 20 62 69 6e 64 5f | 74 65 78 74 64 6f 6d 61 |or bind_|textdoma|
|00001a50| 69 6e 5f 63 6f 64 65 73 | 65 74 5d 29 0a 20 41 43 |in_codes|et]). AC|
|00001a60| 5f 54 52 59 5f 4c 49 4e | 4b 28 0a 20 20 5b 23 69 |_TRY_LIN|K(. [#i|
|00001a70| 6e 63 6c 75 64 65 20 3c | 6c 69 62 69 6e 74 6c 2e |nclude <|libintl.|
|00001a80| 68 3e 5d 2c 0a 20 20 5b | 62 69 6e 64 5f 74 65 78 |h>],. [|bind_tex|
|00001a90| 74 64 6f 6d 61 69 6e 5f | 63 6f 64 65 73 65 74 28 |tdomain_|codeset(|
|00001aa0| 22 22 2c 22 22 29 5d 2c | 0a 20 20 5b 0a 20 20 20 |"","")],|. [. |
|00001ab0| 41 43 5f 4d 53 47 5f 52 | 45 53 55 4c 54 28 79 65 |AC_MSG_R|ESULT(ye|
|00001ac0| 70 29 0a 20 20 20 4c 49 | 42 53 3d 22 24 5f 6f 6c |p). LI|BS="$_ol|
|00001ad0| 64 5f 4c 49 42 53 22 0a | 20 20 5d 2c 0a 20 20 5b |d_LIBS".| ],. [|
|00001ae0| 0a 20 20 20 41 43 5f 4d | 53 47 5f 52 45 53 55 4c |. AC_M|SG_RESUL|
|00001af0| 54 28 6e 6f 29 0a 20 20 | 20 41 43 5f 4d 53 47 5f |T(no). | AC_MSG_|
|00001b00| 43 48 45 43 4b 49 4e 47 | 28 5b 66 6f 72 20 62 69 |CHECKING|([for bi|
|00001b10| 6e 64 5f 74 65 78 74 64 | 6f 6d 61 69 6e 5f 63 6f |nd_textd|omain_co|
|00001b20| 64 65 73 65 74 20 69 6e | 20 6c 69 62 69 6e 74 6c |deset in| libintl|
|00001b30| 5d 29 0a 20 20 20 4c 49 | 42 53 3d 22 24 5f 6f 6c |]). LI|BS="$_ol|
|00001b40| 64 5f 4c 49 42 53 20 2d | 6c 69 6e 74 6c 22 0a 20 |d_LIBS -|lintl". |
|00001b50| 20 20 41 43 5f 54 52 59 | 5f 4c 49 4e 4b 28 0a 20 | AC_TRY|_LINK(. |
|00001b60| 20 20 20 5b 23 69 6e 63 | 6c 75 64 65 20 3c 6c 69 | [#inc|lude <li|
|00001b70| 62 69 6e 74 6c 2e 68 3e | 5d 2c 0a 20 20 20 20 5b |bintl.h>|],. [|
|00001b80| 62 69 6e 64 5f 74 65 78 | 74 64 6f 6d 61 69 6e 5f |bind_tex|tdomain_|
|00001b90| 63 6f 64 65 73 65 74 28 | 22 22 2c 22 22 29 5d 2c |codeset(|"","")],|
|00001ba0| 0a 20 20 20 20 5b 41 43 | 5f 4d 53 47 5f 52 45 53 |. [AC|_MSG_RES|
|00001bb0| 55 4c 54 28 79 65 70 29 | 5d 2c 0a 20 20 20 20 5b |ULT(yep)|],. [|
|00001bc0| 0a 20 20 20 20 20 41 43 | 5f 4d 53 47 5f 52 45 53 |. AC|_MSG_RES|
|00001bd0| 55 4c 54 28 6e 6f 29 0a | 20 20 20 20 20 41 43 5f |ULT(no).| AC_|
|00001be0| 4d 53 47 5f 45 52 52 4f | 52 28 5b 63 6f 6e 66 69 |MSG_ERRO|R([confi|
|00001bf0| 67 75 72 65 20 77 69 74 | 68 20 2d 2d 64 69 73 61 |gure wit|h --disa|
|00001c00| 62 6c 65 2d 6e 6c 73 2c | 20 6f 72 20 75 70 67 72 |ble-nls,| or upgr|
|00001c10| 61 64 65 20 67 65 74 74 | 65 78 74 5d 29 0a 20 20 |ade gett|ext]). |
|00001c20| 20 20 5d 0a 20 20 20 29 | 0a 20 20 5d 0a 20 29 0a | ]. )|. ]. ).|
|00001c30| 66 69 0a 0a 0a 41 43 5f | 43 4f 4e 46 49 47 5f 46 |fi...AC_|CONFIG_F|
|00001c40| 49 4c 45 53 28 5b 4d 61 | 6b 65 66 69 6c 65 20 70 |ILES([Ma|kefile p|
|00001c50| 6f 2f 4d 61 6b 65 66 69 | 6c 65 2e 69 6e 20 6d 34 |o/Makefi|le.in m4|
|00001c60| 2f 4d 61 6b 65 66 69 6c | 65 20 73 72 63 2f 4d 61 |/Makefil|e src/Ma|
|00001c70| 6b 65 66 69 6c 65 5d 29 | 0a 41 43 5f 43 4f 4e 46 |kefile])|.AC_CONF|
|00001c80| 49 47 5f 43 4f 4d 4d 41 | 4e 44 53 28 5b 64 65 66 |IG_COMMA|NDS([def|
|00001c90| 61 75 6c 74 5d 2c 5b 5b | 20 65 63 68 6f 20 74 69 |ault],[[| echo ti|
|00001ca0| 6d 65 73 74 61 6d 70 20 | 3e 20 73 74 61 6d 70 2d |mestamp |> stamp-|
|00001cb0| 68 20 5d 5d 2c 5b 5b 5d | 5d 29 0a 41 43 5f 4f 55 |h ]],[[]|]).AC_OU|
|00001cc0| 54 50 55 54 0a 0a 00 00 | 00 00 00 00 00 00 00 00 |TPUT....|........|
|00001cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d00| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00001d10| 54 68 69 73 20 72 65 73 | 6f 75 72 63 65 20 66 6f |This res|ource fo|
|00001d20| 72 6b 20 69 6e 74 65 6e | 74 69 6f 6e 61 6c 6c 79 |rk inten|tionally|
|00001d30| 20 6c 65 66 74 20 62 6c | 61 6e 6b 20 20 20 00 00 | left bl|ank ..|
|00001d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e00| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00001e10| 00 00 00 00 00 00 00 00 | 00 1c 00 1e ff ff 00 00 |........|........|
|00001e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+